package org.codingbug.duck.impl;

import org.codingbug.duck.Duck;
import org.codingbug.duck.fla.impl.FlyWithWings;
import org.codingbug.duck.quack.impl.Quack;

/**
 * 
 * @ClassName: MallardDuck 
 * @Description: TODO(野鸭的实现) 
 * @author sam.zhang
 * @date 2012-10-3 上午1:58:36 
 *
 */
public class MallardDuck extends Duck {

	/**
	 * 
	 * <p>Title: </p> 
	 * <p>Description: </p>
	 */
	public MallardDuck() {
		this.flyBehavior = new FlyWithWings();
		this.quackBehavior = new Quack();
	}
	
	@Override
	public void display() {
		System.out.println("I`m a mallard duck");

	}

}
